package org.soretro.portfolio.controller.events
{
	import flash.events.Event;
	
	public class WorkItemEvent extends Event
	{
		public static const CLICKED:String = "clicked";
		
		public var youTubeId:String;
		
		public function WorkItemEvent(type:String, youTubeId:String, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			
			this.youTubeId = youTubeId;
		}
		
		override public function clone():Event
		{
			return new WorkItemEvent( type, youTubeId, bubbles, cancelable);
		}
		
		
	}
}